package com.djinfo.work.activiti.dao;

import com.djinfo.work.entity.TbSysRoleUser;
import com.djinfo.work.entity.TbSysRoles;

import java.util.List;

public interface RolesDao {
    List<TbSysRoles> getRoleinfo(int pagenum, int pagesize);
    List<TbSysRoles> getallRoleinfo();
    public TbSysRoles getTbSysRolesbyid(String id);
    public List<TbSysRoleUser> getTbSysRoleUser(String id);
    void deleterole(String rid);
    public void deleterolepermission(String rid);
}
